package com.vf.admin.client.dao;

import com.vf.admin.common.db.BaseDao;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppMingxiRoom;
import com.vf.admin.utils.StringEx;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 账单明细-房间流水
 */
@Repository
public class AppMingxiRoomDao extends BaseDao<AppMingxiRoom> {

    /**
     * 添加/修改
     */
    public void save(AppMingxiRoom pojo) {
        if (pojo!=null && pojo.getId() != null && pojo.getId() > 0) {
            this.update(pojo);
        } else {
            pojo.setId(this.add(pojo));
        }
    }

}
